package com.htthorizon.model.request;

import com.htthorizon.common.core.annotation.Excel;
import com.htthorizon.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 模型查询条件配置对象 model_serach
 *
 * @author mark
 * @date 2023-11-27
 */
@Valid
public class ModelSearchReq
{
    private static final long serialVersionUID = 1L;

    /** 模型ID */
    @NotNull(message = "模型ID不能为空")
    private Long modelId;

    /** 数据源ID */
    @NotNull(message = "数据源ID不能为空")
    private Long sourceId;

    /** 查询条件json */
    @Excel(name = "查询条件json")
    private String searchJson;

    public Long getModelId() {
        return modelId;
    }

    public void setModelId(Long modelId) {
        this.modelId = modelId;
    }

    public Long getSourceId() {
        return sourceId;
    }

    public void setSourceId(Long sourceId) {
        this.sourceId = sourceId;
    }

    public String getSearchJson() {
        return searchJson;
    }

    public void setSearchJson(String searchJson) {
        this.searchJson = searchJson;
    }
}
